<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
    <h1>用户管理界面</h1>
    <table border="1">
        <tr>
            <td>头像</td>
            <td>用户名</td>
            <td>真实姓名</td>
            <td>邮箱</td>
            <td>电话</td>
            <td>状态</td>
            <td>审核信息</td>
            <td>明星作者</td>
            <td>首页推荐</td>
            <td>操作</td>

        </tr>
        <!--可以接受$users变量-->
        <?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                <td><img src="/AppStore/Public/Uploads/photo/<?php echo ($vo["photo"]); ?>" width="100px"height="100px"></td>
                <!--_public_自动对应文件夹-->
                <td><?php echo ($vo["username"]); ?></td>
                <!--<?php echo ($vo['username']); ?>-->
                <td><?php echo ($vo["realname"]); ?></td>
                <td><?php echo ($vo["email"]); ?></td>
                <td><?php echo ($vo["tele"]); ?></td>
                <td>
                    <?php if($vo["state"] == 0): ?>禁用
                        <?php elseif($vo["state"] == 1): ?>普通
                         <?php else: ?>禁言<?php endif; ?>
                </td>
                <td><?php echo ($vo["verifyinfo"]); ?></td>
                <td>
                    <?php if($vo["isstar"] == 0): ?>否
                        <?php else: ?>是<?php endif; ?>
                </td>
                <td>
                    <?php if($vo["isfirst"] == 0): ?>否
                        <?php else: ?> 是<?php endif; ?>
                </td>
                <td><a href="">修改</a></br>
                    <a href="">删除</a></br>
                    <a href="">取消明星作者</a></br>
                    <a href="">取消首页推荐</a></br>
                    <a href="">禁用</a>
                </td>

            </tr><?php endforeach; endif; else: echo "" ;endif; ?>

    </table>
    <div class="pageination"><?php echo ($page); ?></div>
</body>
</html>